package com.anti.modular.bus.busrealestatefloor.param;

import com.anti.commom.pojo.BaseParam;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;

/**
* 房产楼层表参数类
 *
 * @author anti
 * @date 2021-04-15 19:15:53
*/
@Data
public class BusRealEstateFloorParam extends BaseParam {

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空，请检查id参数", groups = {edit.class, delete.class, detail.class})
    private Long id;

    /**
     * 房产id
     */
    @NotNull(message = "房产id不能为空，请检查estateid参数", groups = {add.class, edit.class,list.class})
    private Long estateid;

    /**
     * 楼层号
     */
    @NotNull(message = "楼层号不能为空，请检查code参数", groups = {add.class, edit.class})
    private Integer code;

    /**
     * 楼层名称
     */
    private String name;

    /**
     * 状态（字典 0正常 1停用 2删除）
     */
    private Integer status;

}
